home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-08-29 | 2.4 KB | 83 lines |
- # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
- # Makefile
- #
- # July 31, 1996
- # By Ben Manuto
- #
- # © 1996 by Apple Computer, Inc., all rights reserved.
- #
- # Build instructions for the MacMsgTest tool. Requires MPW and MPW Tools from ETO 19
- # or later. The shell variable {MacMsgTestFolder} needs to be defined as the path
- # to the MacMsgTest folder before this make file can be executed.
- #
- # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
-
- # •••••••••••••• MsgTest Makefile variables.
-
- AppName = "MacMsgTest"
-
- ObjDir = "{MacMsgTestFolder}"MsgTest:MacMsgTest:Objects:
- MsgSources = "{MacMsgTestFolder}"MsgTest:MacMsgTest:
- ResultDir = "{MacMsgTestFolder}"MsgTest:MacMsgTest:
-
- MrCOptions = -align mac68k ∂
- -target ppc ∂
- -typecheck relaxed ∂
- -traceback ∂
- -w 2 ∂
- -sym on
-
- MsgObjects = "{ObjDir}Main.c.o" ∂
- "{ObjDir}MsgTest.c.o" ∂
- "{ObjDir}MsgUtil.c.o"
-
-
- # •••••••••••••• MsgTest resource build rules...
-
- "{ResultDir}"{AppName} ƒƒ "{RIncludes}"SIOW.r
- Rez -a "{Rincludes}"SIOW.r -o "{ResultDir}"{AppName}
-
-
-
- # •••••••••••••• MsgTest application build rules...
-
- "{ResultDir}"{AppName} ƒƒ {MsgObjects}
- PPCLink -t 'APPL' -c '????' ∂
- {MsgObjects} ∂
- "{PPCLibraries}PPCSIOW.o" ∂
- "{SharedLibraries}InterfaceLib" ∂
- "{SharedLibraries}StdCLib" ∂
- "{SharedLibraries}MathLib" ∂
- "{PPCLibraries}PPCCRuntime.o" ∂
- "{PPCLibraries}PPCToolLibs.o" ∂
- -sym on ∂
- -o "{ResultDir}"{AppName}
-
-
- # •••••••••••••• MsgTest source file dependencies and build rules...
-
- "{ObjDir}Main.c.o" ƒ "{MsgSources}Main.c" ∂
- "{MsgSources}MsgTest.h" ∂
- "{MsgSources}Messaging.h"
- MrC "{MsgSources}Main.c" -o "{ObjDir}Main.c.o" {MrCOptions}
-
-
- "{ObjDir}MsgTest.c.o" ƒ "{MsgSources}MsgTest.c" ∂
- "{MsgSources}MsgTest.h" ∂
- "{MsgSources}MsgUtil.h" ∂
- "{MsgSources}Messaging.h"
- MrC "{MsgSources}MsgTest.c" -o "{ObjDir}MsgTest.c.o" {MrCOptions}
-
-
- "{ObjDir}MsgUtil.c.o" ƒ "{MsgSources}MsgUtil.c" ∂
- "{MsgSources}MsgUtil.h" ∂
- "{MsgSources}Messaging.h"
- MrC "{MsgSources}MsgUtil.c" -o "{ObjDir}MsgUtil.c.o" {MrCOptions}
-
-
-
- # •••••••••••••• Clean option - Deletes all object files created by this makefile.
-
- Clean ƒƒ
- Delete -i {MsgObjects}
- Delete -i "{ResultDir}"{AppName}